package it.polito;

public class Person {

	private String firstName;
	private String familyName;
	private boolean gender;
	private Indirizzo Residenza;
	private Indirizzo Domicilio;
	private int phone;
	private String CF;
	
	public Person(String firstName, String familyName, boolean gender,
			Indirizzo residenza, Indirizzo domicilio, int phone, String codF) {
		this.firstName = firstName;
		this.familyName = familyName;
		this.gender = gender;
		this.phone = phone;
		this.CF = codF;
		Residenza = residenza;
		Domicilio = domicilio;
	}
	
	public Person(){
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getFamilyName() {
		return familyName;
	}

	public void setFamilyName(String familyName) {
		this.familyName = familyName;
	}

	public boolean isGender() {
		return gender;
	}

	public void setGender(boolean gender) {
		this.gender = gender;
	}

	public Indirizzo getResidenza() {
		return Residenza;
	}

	public void setResidenza(Indirizzo residenza) {
		Residenza = residenza;
	}

	public Indirizzo getDomicilio() {
		return Domicilio;
	}

	public void setDomicilio(Indirizzo domicilio) {
		Domicilio = domicilio;
	}

	public int getPhone() {
		return phone;
	}

	public void setPhone(int phone) {
		this.phone = phone;
	}

	public String getCF() {
		return CF;
	}

	public void setCF(String CF) {
		this.CF = CF;
	}
	


}
